import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import UploadImg from './UploadImg'
import ImageHolder from './ImageHolder'

export default {
  install(Vue) {
    // 注册组件
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('UploadImg', UploadImg)
    // 将图片组件挂载为全局组件
    Vue.component('ImageHolder', ImageHolder)
  }
}
